package com.neusoft.databus.policy.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.google.common.collect.Lists;
import com.neusoft.databus.common.bean.ResourceBean;
import com.neusoft.databus.policy.model.Policy;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 策略服务传递实体
 * 
 * @author naxiang
 */
@Getter
@Setter
@ToString
public class EventBean implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = -4584424440658012558L;
    /**
     * 策略列表
     */
    private List<Policy> policies = Lists.newArrayList();
    /**
     * 资源
     */
    private ResourceBean resourceBean = new ResourceBean();
    private List<Integer> expressionTrueSquence;
    /**
     * 表达式结果
     */
    private Boolean expressionResult;
    private Date time;

}
